package vip.xls8z.es.sample.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreType;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author tangzhijie
 * @date 2021/7/22
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class OrderBookDTO implements Serializable {

    private Integer id;

    private String uid;

    private String name;

    private Double money;

    private Boolean isDeleted;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate createdDate;
}
